class API {
  //获取token接口
  static const String versionList = "bit-chat-api/v1/app/get_app_version_list";

  //钱包
  //banner
  static const String walletDAppBanners = "wallet/v1/public/getDAppBanners";

  // 钱包 hot
  static const String walletDAppHot = "wallet/v1/getBookmarkList";

  //登录
  static const String emailLogin = "bit-chat-api/v1/email/login";

  //好友列表
  static const String friendList = "bit-chat-api/v1/friend_book/list";

  // 获取 钱包主链  /wallet/v1/public/getWalletConfig
  static const String walletChainsLists = "wallet/v1/public/getWalletConfig";

  // 上传 分片 接口
  // static const String uploadOnePiece = "wallet/v1/cast";
  static const String uploadOnePiece = "wallet/v1/UploadMpcPieceV2";
  // static const String uploadOnePiece = "UploadMpcPieceV2";

  // 钱包逃逸
  static const String walletEscape = "wallet/v1/escape";
  // 判断用户的 盐存不存在
  static const String userMpcSaltIsExist = "wallet/v1/mpcSaltIsExist";
  //获取 mpc 的盐
  static const String getMpcSalt = "wallet/v1/getMpcSalt";
  // 上传mpc 的盐
  static const String uploadMpcSalt = "wallet/v1/uploadMpcSalt";
  // /wallet/v1/getWalletList  获取 钱包列表 判断 import_type =3  status=2； 情况下 必须mpc 钱包
  static const String getWalletList = "wallet/v1/getWalletList";
  //  获取服务器保管的 分片
  static const String getMpcSlice = "wallet/v1/getMpcSlice";
  //  获取交易记录
  static const String getTokenTradingList = "wallet/v1/getTokenTradingList";
  //绑定苹果id
  static const String authApple = "bit-chat-user/v1/account/appleId_bind";
  //绑定谷歌邮箱
  static const String authGoogle = "bit-chat-user/v1/account/gmail_bind";
  //获取 兑换比例
  static const String getExchangeRate = "wallet/v1/getExchangeRate";
  // 币 安 的 兑换比例
  static const String getBNExchangeRate =
      "https://data-api.binance.vision/api/v3/ticker/24hr";

  //  ---------------------------积分体系---------------------------
  //  获取任务列表
  static const String getIntegralRank = "chat_integral/integral_rank";
  //  获取任务列表
  static const String getTaskList = "chat_integral/get_task_list";
  // 获取用户积分
  static const String getUnclaimedScore = "chat_integral/get_unclaimed_score";
  //  领取积分
  static const String postClaimIntegral = "chat_integral/claim_integral";
  //   批量领取积分
  static const String postMultiClaimIntegral =
      "/chat_integral/multi_claim_integral";
//   任务状态上报
//   /chat_integral/user_task_update
  static const String getUserTaskUpdate = "chat_integral/user_task_update";
  //用户签到
  static const String postUserSignIn = "chat_integral/sign";
  // 获取用户签到记录
  static const String getSignDate = "chat_integral/get_sign_date";
  //积分记录
  static const String getIntegralRecord = "chat_integral/get_integral_record";
  // static const String getSignDate = "chat_integral/get_sign_date";
  //获取累计任务的进度
  static const String taskProgress = "chat_integral/get_add_task_progress";
  static const String getScoreMsgCount = "chat_integral/get_score_msg_count";
  static const String getAndroidGroupChatExist =
      "bit-chat-api/v1/group/nonmember_info";

  // ==========================咨询=======================
  // 评论列表
  static const String getCommentList = "bit-chat-news/v1/comment_list";
  // 评论
  static const String doComment = "bit-chat-news/v1/comment";
  // 点赞|消赞
  static const String doLike = "bit-chat-news/v1/like";
  // 分享
  static const String doShare = "bit-chat-news/v1/news/share_report";
  // 详情
  static const String getNewsDetail = "bit-chat-news/v1/news/detail";

//  ----------------------- 关注 列表 ----------------------------
//  获取 列表
  static const String getFollowList = "bit-chat-news/v1/news/follow_list";
  // 关注 取关
  static const String postFollow = "bit-chat-news/v1/news/follow";
  // 获取上传链接
  static const String getUploadUrl = "v1/upload/url";
}
